public class Animal {
        String name;
        int age;

        public void eat(){
            System.out.println(name + "正在吃饭呢");
        }

        public void sleep(){
            System.out.println(name + "正在睡觉");
        }
}
